package com.example.oa.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * OA流程流转实体类
 * </p>
 * @author 34448
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("approval_processes")
public class ApprovalProcessDO {

    /**
     * 流程ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "流程ID")
    private Integer processId;

    /**
     * 流程名称
     */
    @TableField("process_name")
    @ApiModelProperty(value = "流程名称")
    private String processName;

    /**
     * 流程状态
     */
    @TableField("status")
    @ApiModelProperty(value = "流程状态")
    private String status;

    /**
     * 提交人ID
     */
    @TableField("submitter_id")
    @ApiModelProperty(value = "提交人ID")
    private Integer submitterId;

    /**
     * 审批人ID
     */
    @TableField("approver_id")
    @ApiModelProperty(value = "审批人ID")
    private Integer approverId;

    /**
     * 提交日期
     */
    @TableField("submission_date")
    @ApiModelProperty(value = "提交日期")
    private Date submissionDate;

    /**
     * 审批日期
     */
    @TableField("approval_date")
    @ApiModelProperty(value = "审批日期")
    private Date approvalDate;

    /**
     * 审批意见
     */
    @TableField("comments")
    @ApiModelProperty(value = "审批意见")
    private String comments;

    /**
     * 创建人
     */
    @TableField("create_by")
    @ApiModelProperty(value = "创建人")
    private Integer createBy;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("update_by")
    @ApiModelProperty(value = "修改人")
    private Integer updateBy;

    /**
     * 修改时间
     */
    @TableField("update_time")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}